a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
A__2ND(cons(X, XS)) → A__HEAD(mark(XS))
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
A__FROM(X) → MARK(X)
A__SEL(0, cons(X, XS)) → MARK(X)
A__HEAD(cons(X, XS)) → MARK(X)
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(2nd(X)) → MARK(X)
MARK(take(X1, X2)) → MARK(X1)
MARK(head(X)) → A__HEAD(mark(X))
MARK(2nd(X)) → A__2ND(mark(X))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(N), cons(X, XS)) → MARK(N)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
A__2ND(cons(X, XS)) → A__HEAD(mark(XS))
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
A__FROM(X) → MARK(X)
A__SEL(0, cons(X, XS)) → MARK(X)
A__HEAD(cons(X, XS)) → MARK(X)
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(2nd(X)) → MARK(X)
MARK(take(X1, X2)) → MARK(X1)
MARK(head(X)) → A__HEAD(mark(X))
MARK(2nd(X)) → A__2ND(mark(X))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(N), cons(X, XS)) → MARK(N)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__2ND(cons(y0, s(x0))) → A__HEAD(s(mark(x0)))
A__2ND(cons(y0, 0)) → A__HEAD(0)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, nil)) → A__HEAD(nil)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(take(X1, X2)) → MARK(X2)
MARK(s(X)) → MARK(X)
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
A__2ND(cons(y0, 0)) → A__HEAD(0)
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
MARK(head(X)) → A__HEAD(mark(X))
MARK(2nd(X)) → A__2ND(mark(X))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
A__2ND(cons(y0, s(x0))) → A__HEAD(s(mark(x0)))
A__FROM(X) → MARK(X)
A__HEAD(cons(X, XS)) → MARK(X)
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(2nd(X)) → MARK(X)
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
A__2ND(cons(y0, nil)) → A__HEAD(nil)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(take(X1, X2)) → MARK(X2)
MARK(s(X)) → MARK(X)
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
MARK(head(X)) → A__HEAD(mark(X))
MARK(2nd(X)) → A__2ND(mark(X))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
A__FROM(X) → MARK(X)
A__HEAD(cons(X, XS)) → MARK(X)
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(2nd(X)) → MARK(X)
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(head(nil)) → A__HEAD(nil)
MARK(head(s(x0))) → A__HEAD(s(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(head(0)) → A__HEAD(0)
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(take(X1, X2)) → MARK(X2)
MARK(s(X)) → MARK(X)
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(X)) → A__2ND(mark(X))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
A__FROM(X) → MARK(X)
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(head(s(x0))) → A__HEAD(s(mark(x0)))
MARK(head(nil)) → A__HEAD(nil)
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(head(0)) → A__HEAD(0)
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(take(X1, X2)) → MARK(X2)
MARK(s(X)) → MARK(X)
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
MARK(2nd(X)) → A__2ND(mark(X))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
A__FROM(X) → MARK(X)
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(2nd(nil)) → A__2ND(nil)
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(2nd(s(x0))) → A__2ND(s(mark(x0)))
MARK(2nd(0)) → A__2ND(0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(2nd(nil)) → A__2ND(nil)
MARK(s(X)) → MARK(X)
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(2nd(s(x0))) → A__2ND(s(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(0)) → A__2ND(0)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(s(X)) → MARK(X)
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(take(take(x0, x1), y1)) → A__TAKE(a__take(mark(x0), mark(x1)), mark(y1))
MARK(take(cons(x0, x1), y1)) → A__TAKE(cons(mark(x0), x1), mark(y1))
MARK(take(s(x0), y1)) → A__TAKE(s(mark(x0)), mark(y1))
MARK(take(2nd(x0), y1)) → A__TAKE(a__2nd(mark(x0)), mark(y1))
MARK(take(0, y1)) → A__TAKE(0, mark(y1))
MARK(take(nil, y1)) → A__TAKE(nil, mark(y1))
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(x0, x1), y1)) → A__TAKE(a__take(mark(x0), mark(x1)), mark(y1))
MARK(take(s(x0), y1)) → A__TAKE(s(mark(x0)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(s(X)) → MARK(X)
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(nil, y1)) → A__TAKE(nil, mark(y1))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(0, y1)) → A__TAKE(0, mark(y1))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(cons(x0, x1), y1)) → A__TAKE(cons(mark(x0), x1), mark(y1))
MARK(take(2nd(x0), y1)) → A__TAKE(a__2nd(mark(x0)), mark(y1))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(x0, x1), y1)) → A__TAKE(a__take(mark(x0), mark(x1)), mark(y1))
MARK(take(s(x0), y1)) → A__TAKE(s(mark(x0)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(s(X)) → MARK(X)
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(2nd(x0), y1)) → A__TAKE(a__2nd(mark(x0)), mark(y1))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(cons(x0, x1), y1)) → A__SEL(cons(mark(x0), x1), mark(y1))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(sel(nil, y1)) → A__SEL(nil, mark(y1))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(take(s(x0), y1)) → A__TAKE(s(mark(x0)), mark(y1))
MARK(sel(cons(x0, x1), y1)) → A__SEL(cons(mark(x0), x1), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
MARK(sel(nil, y1)) → A__SEL(nil, mark(y1))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(x0), y1)) → A__TAKE(a__2nd(mark(x0)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(x0, x1), y1)) → A__TAKE(a__take(mark(x0), mark(x1)), mark(y1))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(take(s(x0), y1)) → A__TAKE(s(mark(x0)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(x0), y1)) → A__TAKE(a__2nd(mark(x0)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(x0, x1), y1)) → A__TAKE(a__take(mark(x0), mark(x1)), mark(y1))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 0)) → A__TAKE(a__take(mark(y0), mark(y1)), 0)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(take(y0, y1), s(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), s(mark(x0)))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(take(y0, y1), nil)) → A__TAKE(a__take(mark(y0), mark(y1)), nil)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 0)) → A__TAKE(a__take(mark(y0), mark(y1)), 0)
MARK(take(s(x0), y1)) → A__TAKE(s(mark(x0)), mark(y1))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(take(y0, y1), s(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(x0), y1)) → A__TAKE(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(take(y0, y1), nil)) → A__TAKE(a__take(mark(y0), mark(y1)), nil)
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(take(s(x0), y1)) → A__TAKE(s(mark(x0)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(x0), y1)) → A__TAKE(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), s(x0))) → A__TAKE(s(mark(y0)), s(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), 0)) → A__TAKE(s(mark(y0)), 0)
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(take(s(y0), nil)) → A__TAKE(s(mark(y0)), nil)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(x0), y1)) → A__TAKE(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(s(y0), s(x0))) → A__TAKE(s(mark(y0)), s(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 0)) → A__TAKE(s(mark(y0)), 0)
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(s(y0), nil)) → A__TAKE(s(mark(y0)), nil)
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(x0), y1)) → A__TAKE(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(2nd(y0), nil)) → A__TAKE(a__2nd(mark(y0)), nil)
MARK(take(2nd(y0), s(x0))) → A__TAKE(a__2nd(mark(y0)), s(mark(x0)))
MARK(take(2nd(y0), 0)) → A__TAKE(a__2nd(mark(y0)), 0)
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), s(x0))) → A__TAKE(a__2nd(mark(y0)), s(mark(x0)))
MARK(take(2nd(y0), nil)) → A__TAKE(a__2nd(mark(y0)), nil)
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(2nd(y0), 0)) → A__TAKE(a__2nd(mark(y0)), 0)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(head(x0), y1)) → A__TAKE(a__head(mark(x0)), mark(y1))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(take(head(y0), 0)) → A__TAKE(a__head(mark(y0)), 0)
MARK(take(head(y0), s(x0))) → A__TAKE(a__head(mark(y0)), s(mark(x0)))
MARK(take(head(y0), nil)) → A__TAKE(a__head(mark(y0)), nil)
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(head(y0), 0)) → A__TAKE(a__head(mark(y0)), 0)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), s(x0))) → A__TAKE(a__head(mark(y0)), s(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), nil)) → A__TAKE(a__head(mark(y0)), nil)
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(sel(x0, x1), y1)) → A__TAKE(a__sel(mark(x0), mark(x1)), mark(y1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(sel(y0, y1), 0)) → A__TAKE(a__sel(mark(y0), mark(y1)), 0)
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), s(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), nil)) → A__TAKE(a__sel(mark(y0), mark(y1)), nil)
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(sel(y0, y1), s(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
MARK(take(sel(y0, y1), nil)) → A__TAKE(a__sel(mark(y0), mark(y1)), nil)
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), 0)) → A__TAKE(a__sel(mark(y0), mark(y1)), 0)
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(take(from(x0), y1)) → A__TAKE(a__from(mark(x0)), mark(y1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(take(from(y0), nil)) → A__TAKE(a__from(mark(y0)), nil)
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(from(y0), 0)) → A__TAKE(a__from(mark(y0)), 0)
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(from(y0), s(x0))) → A__TAKE(a__from(mark(y0)), s(mark(x0)))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), s(x0))) → A__TAKE(a__from(mark(y0)), s(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(take(from(y0), nil)) → A__TAKE(a__from(mark(y0)), nil)
MARK(take(from(y0), 0)) → A__TAKE(a__from(mark(y0)), 0)
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), nil)) → A__SEL(a__from(mark(y0)), nil)
MARK(sel(from(y0), s(x0))) → A__SEL(a__from(mark(y0)), s(mark(x0)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(sel(from(y0), 0)) → A__SEL(a__from(mark(y0)), 0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(sel(from(y0), s(x0))) → A__SEL(a__from(mark(y0)), s(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(sel(from(y0), nil)) → A__SEL(a__from(mark(y0)), nil)
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), 0)) → A__SEL(a__from(mark(y0)), 0)
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(x0, x1), y1)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y1))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), s(x0))) → A__SEL(a__take(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(take(y0, y1), 0)) → A__SEL(a__take(mark(y0), mark(y1)), 0)
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), nil)) → A__SEL(a__take(mark(y0), mark(y1)), nil)
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(take(y0, y1), 0)) → A__SEL(a__take(mark(y0), mark(y1)), 0)
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), s(x0))) → A__SEL(a__take(mark(y0), mark(y1)), s(mark(x0)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(sel(take(y0, y1), nil)) → A__SEL(a__take(mark(y0), mark(y1)), nil)
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(0, 0)) → A__SEL(0, 0)
MARK(sel(0, nil)) → A__SEL(0, nil)
MARK(sel(0, s(x0))) → A__SEL(0, s(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(0, nil)) → A__SEL(0, nil)
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(0, s(x0))) → A__SEL(0, s(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(0, 0)) → A__SEL(0, 0)
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(head(x0), y1)) → A__SEL(a__head(mark(x0)), mark(y1))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(head(y0), 0)) → A__SEL(a__head(mark(y0)), 0)
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(head(y0), s(x0))) → A__SEL(a__head(mark(y0)), s(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), nil)) → A__SEL(a__head(mark(y0)), nil)
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), 0)) → A__SEL(a__head(mark(y0)), 0)
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(head(y0), nil)) → A__SEL(a__head(mark(y0)), nil)
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(head(y0), s(x0))) → A__SEL(a__head(mark(y0)), s(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(2nd(x0), y1)) → A__SEL(a__2nd(mark(x0)), mark(y1))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), s(x0))) → A__SEL(a__2nd(mark(y0)), s(mark(x0)))
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(2nd(y0), 0)) → A__SEL(a__2nd(mark(y0)), 0)
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), nil)) → A__SEL(a__2nd(mark(y0)), nil)
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(2nd(y0), s(x0))) → A__SEL(a__2nd(mark(y0)), s(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(y0), nil)) → A__SEL(a__2nd(mark(y0)), nil)
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(2nd(y0), 0)) → A__SEL(a__2nd(mark(y0)), 0)
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), s(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 0)) → A__SEL(a__sel(mark(y0), mark(y1)), 0)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), nil)) → A__SEL(a__sel(mark(y0), mark(y1)), nil)
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(sel(y0, y1), s(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(sel(y0, y1), 0)) → A__SEL(a__sel(mark(y0), mark(y1)), 0)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(sel(sel(y0, y1), nil)) → A__SEL(a__sel(mark(y0), mark(y1)), nil)
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), 0)) → A__SEL(s(mark(y0)), 0)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), s(x0))) → A__SEL(s(mark(y0)), s(mark(x0)))
MARK(sel(s(y0), nil)) → A__SEL(s(mark(y0)), nil)
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(s(y0), s(x0))) → A__SEL(s(mark(y0)), s(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(s(y0), 0)) → A__SEL(s(mark(y0)), 0)
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(s(y0), nil)) → A__SEL(s(mark(y0)), nil)
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(take(take(y0, y1), sel(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(take(y0, y1), from(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(take(y0, y1), take(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(take(y0, y1), 2nd(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(take(y0, y1), cons(x0, x1))) → A__TAKE(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(take(y0, y1), head(x0))) → A__TAKE(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
Used ordering: Polynomial interpretation [25]:
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
POL(0) = 1
POL(2nd(x1)) = 1
POL(A__2ND(x1)) = 1
POL(A__FROM(x1)) = 1
POL(A__HEAD(x1)) = 1
POL(A__SEL(x1, x2)) = 1
POL(A__TAKE(x1, x2)) = x1
POL(MARK(x1)) = 1
POL(a__2nd(x1)) = 1
POL(a__from(x1)) = 1
POL(a__head(x1)) = 1
POL(a__sel(x1, x2)) = x1
POL(a__take(x1, x2)) = 0
POL(cons(x1, x2)) = 0
POL(from(x1)) = 0
POL(head(x1)) = 0
POL(mark(x1)) = 1
POL(nil) = 0
POL(s(x1)) = 1
POL(sel(x1, x2)) = 0
POL(take(x1, x2)) = 0
a__from(X) → cons(mark(X), from(s(X)))
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__take(0, XS) → nil
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__sel(0, cons(X, XS)) → mark(X)
mark(2nd(X)) → a__2nd(mark(X))
mark(head(X)) → a__head(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
a__head(cons(X, XS)) → mark(X)
mark(from(X)) → a__from(mark(X))
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(sel(take(y0, y1), 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(take(y0, y1), take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(take(y0, y1), cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(take(y0, y1), sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(take(y0, y1), head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
Used ordering: Polynomial interpretation [25]:
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
POL(0) = 1
POL(2nd(x1)) = 0
POL(A__2ND(x1)) = 1
POL(A__FROM(x1)) = 1
POL(A__HEAD(x1)) = 1
POL(A__SEL(x1, x2)) = x1
POL(A__TAKE(x1, x2)) = x1
POL(MARK(x1)) = 1
POL(a__2nd(x1)) = 1
POL(a__from(x1)) = x1
POL(a__head(x1)) = 1
POL(a__sel(x1, x2)) = 1
POL(a__take(x1, x2)) = 0
POL(cons(x1, x2)) = 0
POL(from(x1)) = 0
POL(head(x1)) = 1
POL(mark(x1)) = 1
POL(nil) = 0
POL(s(x1)) = 1
POL(sel(x1, x2)) = 1
POL(take(x1, x2)) = 0
a__from(X) → cons(mark(X), from(s(X)))
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__take(0, XS) → nil
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__sel(0, cons(X, XS)) → mark(X)
mark(2nd(X)) → a__2nd(mark(X))
mark(head(X)) → a__head(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
a__head(cons(X, XS)) → mark(X)
mark(from(X)) → a__from(mark(X))
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(sel(from(y0), head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(from(y0), 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
Used ordering: Polynomial interpretation [25]:
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
POL(0) = 1
POL(2nd(x1)) = 1
POL(A__2ND(x1)) = 1
POL(A__FROM(x1)) = 1
POL(A__HEAD(x1)) = 1
POL(A__SEL(x1, x2)) = x1
POL(A__TAKE(x1, x2)) = 1
POL(MARK(x1)) = 1
POL(a__2nd(x1)) = 1
POL(a__from(x1)) = 0
POL(a__head(x1)) = 1
POL(a__sel(x1, x2)) = x1
POL(a__take(x1, x2)) = 0
POL(cons(x1, x2)) = 0
POL(from(x1)) = 0
POL(head(x1)) = 1
POL(mark(x1)) = 1
POL(nil) = 0
POL(s(x1)) = 1
POL(sel(x1, x2)) = 0
POL(take(x1, x2)) = 0
a__from(X) → cons(mark(X), from(s(X)))
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__take(0, XS) → nil
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__sel(0, cons(X, XS)) → mark(X)
mark(2nd(X)) → a__2nd(mark(X))
mark(head(X)) → a__head(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
a__head(cons(X, XS)) → mark(X)
mark(from(X)) → a__from(mark(X))
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(take(from(y0), cons(x0, x1))) → A__TAKE(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(from(y0), sel(x0, x1))) → A__TAKE(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(from(y0), take(x0, x1))) → A__TAKE(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(from(y0), from(x0))) → A__TAKE(a__from(mark(y0)), a__from(mark(x0)))
MARK(take(from(y0), 2nd(x0))) → A__TAKE(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(take(from(y0), head(x0))) → A__TAKE(a__from(mark(y0)), a__head(mark(x0)))
Used ordering: Polynomial interpretation [25]:
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
POL(0) = 1
POL(2nd(x1)) = 0
POL(A__2ND(x1)) = 1
POL(A__FROM(x1)) = 1
POL(A__HEAD(x1)) = 1
POL(A__SEL(x1, x2)) = x1
POL(A__TAKE(x1, x2)) = x1
POL(MARK(x1)) = 1
POL(a__2nd(x1)) = 1
POL(a__from(x1)) = 0
POL(a__head(x1)) = 1
POL(a__sel(x1, x2)) = 1
POL(a__take(x1, x2)) = 0
POL(cons(x1, x2)) = 0
POL(from(x1)) = 0
POL(head(x1)) = 0
POL(mark(x1)) = 1
POL(nil) = 0
POL(s(x1)) = 1
POL(sel(x1, x2)) = 0
POL(take(x1, x2)) = 0
a__from(X) → cons(mark(X), from(s(X)))
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__take(0, XS) → nil
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__sel(0, cons(X, XS)) → mark(X)
mark(2nd(X)) → a__2nd(mark(X))
mark(head(X)) → a__head(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
a__head(cons(X, XS)) → mark(X)
mark(from(X)) → a__from(mark(X))
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
A__SEL(s(2nd(x0)), cons(y1, y2)) → A__SEL(a__2nd(mark(x0)), mark(y2))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
A__SEL(s(nil), cons(y1, y2)) → A__SEL(nil, mark(y2))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__SEL(s(cons(x0, x1)), cons(y1, y2)) → A__SEL(cons(mark(x0), x1), mark(y2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(nil), cons(y1, y2)) → A__SEL(nil, mark(y2))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(cons(x0, x1)), cons(y1, y2)) → A__SEL(cons(mark(x0), x1), mark(y2))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__SEL(s(2nd(x0)), cons(y1, y2)) → A__SEL(a__2nd(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(X)) → MARK(X)
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
A__SEL(s(2nd(x0)), cons(y1, y2)) → A__SEL(a__2nd(mark(x0)), mark(y2))
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, nil)) → A__SEL(a__from(mark(y0)), nil)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 0)) → A__SEL(a__from(mark(y0)), 0)
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, s(x0))) → A__SEL(a__from(mark(y0)), s(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, nil)) → A__SEL(a__from(mark(y0)), nil)
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, s(x0))) → A__SEL(a__from(mark(y0)), s(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__SEL(s(2nd(x0)), cons(y1, y2)) → A__SEL(a__2nd(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, 0)) → A__SEL(a__from(mark(y0)), 0)
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__SEL(s(2nd(x0)), cons(y1, y2)) → A__SEL(a__2nd(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, nil)) → A__SEL(0, nil)
A__SEL(s(0), cons(y0, s(x0))) → A__SEL(0, s(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 0)) → A__SEL(0, 0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, nil)) → A__SEL(0, nil)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__SEL(s(2nd(x0)), cons(y1, y2)) → A__SEL(a__2nd(mark(x0)), mark(y2))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(0), cons(y0, 0)) → A__SEL(0, 0)
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
A__SEL(s(0), cons(y0, s(x0))) → A__SEL(0, s(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__SEL(s(2nd(x0)), cons(y1, y2)) → A__SEL(a__2nd(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, 0)) → A__SEL(a__2nd(mark(y0)), 0)
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, nil)) → A__SEL(a__2nd(mark(y0)), nil)
A__SEL(s(2nd(y0)), cons(y1, s(x0))) → A__SEL(a__2nd(mark(y0)), s(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(2nd(y0)), cons(y1, 0)) → A__SEL(a__2nd(mark(y0)), 0)
A__SEL(s(2nd(y0)), cons(y1, nil)) → A__SEL(a__2nd(mark(y0)), nil)
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, s(x0))) → A__SEL(a__2nd(mark(y0)), s(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, s(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), s(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, 0)) → A__SEL(a__sel(mark(y0), mark(y1)), 0)
A__SEL(s(sel(y0, y1)), cons(y2, nil)) → A__SEL(a__sel(mark(y0), mark(y1)), nil)
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, 0)) → A__SEL(a__sel(mark(y0), mark(y1)), 0)
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, nil)) → A__SEL(a__sel(mark(y0), mark(y1)), nil)
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, s(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(s(y0)), cons(y1, s(x0))) → A__SEL(s(mark(y0)), s(mark(x0)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 0)) → A__SEL(s(mark(y0)), 0)
A__SEL(s(s(y0)), cons(y1, nil)) → A__SEL(s(mark(y0)), nil)
A__SEL(s(s(y0)), cons(y1, head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(s(y0)), cons(y1, 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, nil)) → A__SEL(s(mark(y0)), nil)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(s(y0)), cons(y1, s(x0))) → A__SEL(s(mark(y0)), s(mark(x0)))
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
A__SEL(s(s(y0)), cons(y1, head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__SEL(s(s(y0)), cons(y1, take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, 0)) → A__SEL(s(mark(y0)), 0)
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
A__SEL(s(s(y0)), cons(y1, head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__SEL(s(s(y0)), cons(y1, take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(x0, x1)), cons(y1, y2)) → A__SEL(a__take(mark(x0), mark(x1)), mark(y2))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(take(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(take(y0, y1)), cons(y2, head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, s(x0))) → A__SEL(a__take(mark(y0), mark(y1)), s(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, nil)) → A__SEL(a__take(mark(y0), mark(y1)), nil)
A__SEL(s(take(y0, y1)), cons(y2, 0)) → A__SEL(a__take(mark(y0), mark(y1)), 0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, s(x0))) → A__SEL(a__take(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, nil)) → A__SEL(a__take(mark(y0), mark(y1)), nil)
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, 0)) → A__SEL(a__take(mark(y0), mark(y1)), 0)
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
A__SEL(s(s(y0)), cons(y1, head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__SEL(s(s(y0)), cons(y1, take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
A__SEL(s(s(y0)), cons(y1, head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(head(x0)), cons(y1, y2)) → A__SEL(a__head(mark(x0)), mark(y2))
A__SEL(s(s(y0)), cons(y1, take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(take(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(head(y0)), cons(y1, take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(head(y0)), cons(y1, 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(head(y0)), cons(y1, from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__SEL(s(head(y0)), cons(y1, 0)) → A__SEL(a__head(mark(y0)), 0)
A__SEL(s(head(y0)), cons(y1, head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
A__SEL(s(head(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(head(y0)), cons(y1, s(x0))) → A__SEL(a__head(mark(y0)), s(mark(x0)))
A__SEL(s(head(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(head(y0)), cons(y1, nil)) → A__SEL(a__head(mark(y0)), nil)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
A__SEL(s(head(y0)), cons(y1, take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(head(y0)), cons(y1, 0)) → A__SEL(a__head(mark(y0)), 0)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(head(y0)), cons(y1, from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__SEL(s(head(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(head(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
A__SEL(s(head(y0)), cons(y1, s(x0))) → A__SEL(a__head(mark(y0)), s(mark(x0)))
A__SEL(s(s(y0)), cons(y1, head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(head(y0)), cons(y1, 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(s(y0)), cons(y1, take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X1)
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(take(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__FROM(X) → MARK(X)
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(head(y0)), cons(y1, head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(head(y0)), cons(y1, nil)) → A__SEL(a__head(mark(y0)), nil)
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
A__SEL(s(head(y0)), cons(y1, take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(head(y0)), cons(y1, from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__SEL(s(head(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(head(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
A__SEL(s(s(y0)), cons(y1, head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__SEL(s(head(y0)), cons(y1, 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(s(y0)), cons(y1, take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(take(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(head(y0)), cons(y1, head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A__SEL(s(take(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(take(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, head(x0))) → A__SEL(a__from(mark(y0)), a__head(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__take(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, 2nd(x0))) → A__SEL(a__from(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(take(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__2nd(mark(x0)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(take(y0, y1)), cons(y2, head(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__head(mark(x0)))
A__SEL(s(from(y0)), cons(y1, take(x0, x1))) → A__SEL(a__from(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(take(y0, y1)), cons(y2, from(x0))) → A__SEL(a__take(mark(y0), mark(y1)), a__from(mark(x0)))
Used ordering: Polynomial interpretation [25]:
A__SEL(s(head(y0)), cons(y1, take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
A__SEL(s(head(y0)), cons(y1, from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__SEL(s(head(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(head(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
A__SEL(s(s(y0)), cons(y1, head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__SEL(s(head(y0)), cons(y1, 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(s(y0)), cons(y1, take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(head(y0)), cons(y1, head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
POL(0) = 1
POL(2nd(x1)) = 0
POL(A__2ND(x1)) = 1
POL(A__FROM(x1)) = 1
POL(A__HEAD(x1)) = 1
POL(A__SEL(x1, x2)) = x1
POL(A__TAKE(x1, x2)) = 1
POL(MARK(x1)) = 1
POL(a__2nd(x1)) = 1
POL(a__from(x1)) = 0
POL(a__head(x1)) = 1
POL(a__sel(x1, x2)) = x1
POL(a__take(x1, x2)) = 0
POL(cons(x1, x2)) = 0
POL(from(x1)) = 0
POL(head(x1)) = 0
POL(mark(x1)) = 1
POL(nil) = 0
POL(s(x1)) = 1
POL(sel(x1, x2)) = x1
POL(take(x1, x2)) = 0
a__from(X) → cons(mark(X), from(s(X)))
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__take(0, XS) → nil
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__sel(0, cons(X, XS)) → mark(X)
mark(2nd(X)) → a__2nd(mark(X))
mark(head(X)) → a__head(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
a__head(cons(X, XS)) → mark(X)
mark(from(X)) → a__from(mark(X))
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
A__SEL(s(head(y0)), cons(y1, take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, head(x0))) → A__SEL(0, a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), head(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(take(head(y0), sel(x0, x1))) → A__TAKE(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(head(y0), from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__2ND(cons(y0, sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), 2nd(x0))) → A__TAKE(s(mark(y0)), a__2nd(mark(x0)))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), head(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__head(mark(x0)))
MARK(sel(2nd(y0), take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(head(y0), sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), take(x0, x1))) → A__TAKE(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__HEAD(cons(X, XS)) → MARK(X)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(sel(y0, y1), take(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
MARK(take(sel(y0, y1), sel(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(2nd(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(2nd(y0), sel(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(head(y0), cons(x0, x1))) → A__TAKE(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(take(s(y0), head(x0))) → A__TAKE(s(mark(y0)), a__head(mark(x0)))
A__SEL(s(head(y0)), cons(y1, from(x0))) → A__SEL(a__head(mark(y0)), a__from(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
A__SEL(s(head(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__2ND(cons(y0, 2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(2nd(cons(x0, x1))) → A__2ND(cons(mark(x0), x1))
MARK(take(head(y0), 2nd(x0))) → A__TAKE(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), head(x0))) → A__TAKE(a__2nd(mark(y0)), a__head(mark(x0)))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(head(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__head(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
A__2ND(cons(y0, from(x0))) → A__HEAD(a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(head(sel(x0, x1))) → A__HEAD(a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), from(x0))) → A__TAKE(a__head(mark(y0)), a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(2nd(sel(x0, x1))) → A__2ND(a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(2nd(from(x0))) → A__2ND(a__from(mark(x0)))
MARK(head(X)) → MARK(X)
A__SEL(s(s(y0)), cons(y1, head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(2nd(y0), cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(cons(X1, X2)) → MARK(X1)
MARK(take(s(y0), sel(x0, x1))) → A__TAKE(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(take(s(y0), from(x0))) → A__TAKE(s(mark(y0)), a__from(mark(x0)))
MARK(2nd(head(x0))) → A__2ND(a__head(mark(x0)))
A__SEL(s(head(y0)), cons(y1, 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(2nd(y0)), cons(y1, head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
A__2ND(cons(X, XS)) → MARK(XS)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__SEL(s(2nd(y0)), cons(y1, take(x0, x1))) → A__SEL(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, 2nd(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(X1, X2)) → MARK(X1)
A__SEL(s(s(y0)), cons(y1, take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
A__2ND(cons(y0, head(x0))) → A__HEAD(a__head(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(head(take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
A__SEL(s(2nd(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(2nd(y0), 2nd(x0))) → A__SEL(a__2nd(mark(y0)), a__2nd(mark(x0)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(2nd(2nd(x0))) → A__2ND(a__2nd(mark(x0)))
MARK(sel(2nd(y0), head(x0))) → A__SEL(a__2nd(mark(y0)), a__head(mark(x0)))
MARK(sel(head(y0), 2nd(x0))) → A__SEL(a__head(mark(y0)), a__2nd(mark(x0)))
MARK(take(2nd(y0), 2nd(x0))) → A__TAKE(a__2nd(mark(y0)), a__2nd(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(take(2nd(y0), sel(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__sel(mark(x0), mark(x1)))
A__FROM(X) → MARK(X)
MARK(take(sel(y0, y1), 2nd(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__2nd(mark(x0)))
MARK(take(2nd(y0), cons(x0, x1))) → A__TAKE(a__2nd(mark(y0)), cons(mark(x0), x1))
MARK(sel(head(y0), cons(x0, x1))) → A__SEL(a__head(mark(y0)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, head(x0))) → A__SEL(0, a__head(mark(x0)))
MARK(sel(head(y0), head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
A__SEL(s(0), cons(y0, take(x0, x1))) → A__SEL(0, a__take(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(take(2nd(y0), take(x0, x1))) → A__TAKE(a__2nd(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), from(x0))) → A__TAKE(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(take(head(y0), head(x0))) → A__TAKE(a__head(mark(y0)), a__head(mark(x0)))
MARK(sel(0, 2nd(x0))) → A__SEL(0, a__2nd(mark(x0)))
MARK(sel(s(y0), head(x0))) → A__SEL(s(mark(y0)), a__head(mark(x0)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(take(s(y0), cons(x0, x1))) → A__TAKE(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), take(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__take(mark(x0), mark(x1)))
MARK(take(sel(y0, y1), cons(x0, x1))) → A__TAKE(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(head(2nd(x0))) → A__HEAD(a__2nd(mark(x0)))
MARK(sel(head(y0), take(x0, x1))) → A__SEL(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 2nd(x0))) → A__SEL(s(mark(y0)), a__2nd(mark(x0)))
A__2ND(cons(y0, take(x0, x1))) → A__HEAD(a__take(mark(x0), mark(x1)))
MARK(take(2nd(y0), from(x0))) → A__TAKE(a__2nd(mark(y0)), a__from(mark(x0)))
MARK(from(X)) → MARK(X)
MARK(2nd(take(x0, x1))) → A__2ND(a__take(mark(x0), mark(x1)))
MARK(sel(s(y0), take(x0, x1))) → A__SEL(s(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(head(head(x0))) → A__HEAD(a__head(mark(x0)))
MARK(sel(2nd(y0), from(x0))) → A__SEL(a__2nd(mark(y0)), a__from(mark(x0)))
A__SEL(s(head(y0)), cons(y1, head(x0))) → A__SEL(a__head(mark(y0)), a__head(mark(x0)))
MARK(take(head(y0), take(x0, x1))) → A__TAKE(a__head(mark(y0)), a__take(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(2nd(X)) → MARK(X)
MARK(head(from(x0))) → A__HEAD(a__from(mark(x0)))
A__TAKE(s(N), cons(X, XS)) → MARK(X)
A__2ND(cons(y0, cons(x0, x1))) → A__HEAD(cons(mark(x0), x1))
a__from(X) → cons(mark(X), from(s(X)))
a__head(cons(X, XS)) → mark(X)
a__2nd(cons(X, XS)) → a__head(mark(XS))
a__take(0, XS) → nil
a__take(s(N), cons(X, XS)) → cons(mark(X), take(N, XS))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(from(X)) → a__from(mark(X))
mark(head(X)) → a__head(mark(X))
mark(2nd(X)) → a__2nd(mark(X))
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__head(X) → head(X)
a__2nd(X) → 2nd(X)
a__take(X1, X2) → take(X1, X2)
a__sel(X1, X2) → sel(X1, X2)